package main

import (
	"log"
	"time"

	// "stb_levelDb_oracle/mysql_sql_option"
	"stb_levelDb_oracle/oracle_sql_option"

	_ "github.com/mattn/go-oci8"
)

// 等待实现：修改为主键自增后，使用递增的序列作为条件来进行并行查找
func main() {
	// tick := time.Now()
	// if err := oracle_sql_option.Load(); err != nil {
	// 	log.Println(err)
	// }
	// log.Println("总用时===：", time.Since(tick))
	tick := time.Now()
	if err := oracle_sql_option.Load_Chan(PG_DRIVER, PG_199_CON); err != nil {
		log.Println(err)
	}
	log.Println("总用时===：", time.Since(tick))

}
